const { default: styled } = require("styled-components");

const Right = styled.div`
flex: 1;
text-align: right;
display: flex;
align-items: center;
justify-content: flex-end;
margin-right: 25px;
.left{
    display: flex;
    align-items: center;
    margin-right: 15px;
    span{
        font-size: 12px;
        padding: 3px 10px;
        border: 1px solid ${props => props.theme.color.Vanishing};
        margin-right: 8px;
        border-radius: 12px;
        cursor: pointer;
    transition: all 0.3s;
        &:hover{
        border: 1px solid gray;
        }
    }
}
.right{
    display: flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid ${props => props.theme.color.Vanishing};
    border-radius: 22px;
    cursor: pointer;
    position: relative;
    &:hover .list{
        display: block;
    }
    .list{
        /* display: none; */
        position: absolute;
        z-index: 1;
        bottom:-220px;
        left: -140px;
        padding: 0;
        font-size: 12px;
        border-radius: 10px;
        background-color: white;
        box-shadow: 2px 2px 20px 3px ${props => props.theme.color.BVanishing};
        li{
            text-align: left;
            padding: 0;
            padding: 10px;
            list-style: none;
            width: 200px;
            /* &:nth-child(2){
                border-bottom: 1px solid ${props => props.theme.color.BVanishing};
            } */
            &:hover{
                background-color:rgba(0,0,0,0.2);
            }
        }
    }
    &:hover{
        ${props=>props.theme.shadow.typeOne}
        }
    div{
        color: ${props => props.theme.color.Vanishing};
        margin-left: 10px;

    }
}
`
export default Right